@import "@primer/css/support/variables/layout.scss";
@import "@primer/css/support/mixins/layout.scss";
@import "src/frame/stylesheets/breakpoint-xxl.scss";

.header {
  display: unset;
}

// Contains the logo and version picker and used when the smaller width search
// input UI is closed.
.logoWithClosedSearch {
  display: flex;
  align-items: center;
  color: var(--color-bg-default);
}

// Contains the logo and version picker and used when the smaller width search
// input UI is open (where we don't show the logo or version picker).  As the
// width increases to md and above and search no longer takes up the whole header
// width, we show the logo and version picker.
.logoWithOpenSearch {
  display: none;

  @include breakpoint(md) {
    display: flex;
    align-items: center;
    color: var(--color-bg-default);
  }
}

// Prevent the ... menu from still showing if someone opens it and then widens
// their browser to lg.
.menuOverlay {
  min-width: 20rem;

  @include breakpoint(lg) {
    display: none;
  }
}

.displayOverLarge {
  display: none;
  visibility: none;

  @include breakpoint(lg) {
    display: flex !important;
    visibility: visible !important;
  }
}

.dialog {
  @include breakpoint-xxl {
    display: none;
  }

  [class*="prc-Dialog-Body"] {
    padding: 0 !important;
  }
}

.headerContainer {
  row-gap: 1rem;
}
